package com.mzy.olddate.demo;

/**
 * @author Ives
 * * @date 2021/8/25
 */
public class Test {
  public static void main(String[] args) {
    String a="11.22.5,55";

    String[] split = a.split(",");
    System.out.println(split.length);
    for (String s : split) {
      System.out.println(s);
    }

    if ("1".equals(a)){
      System.out.println("1");
    }
    else {
      System.out.println("2");
    }
    System.out.println("3");
  }

}
